package com.ruoyi.project.report.car.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 车辆报表对象
 *
 * @author admin
 * @date 2021-01-18
 */
public class CarReport extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private Long carId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String lisenseNum;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String carModel;

    /** 租车次数 */
    @Excel(name = "租车次数")
    private Long rentCount;

    /** 租车总收入 */
    @Excel(name = "租车总收入")
    private Long rentPrice;

    /** 损坏总金额 */
    @Excel(name = "损坏总金额")
    private Long damagePrice;

    /** 总收入 */
    @Excel(name = "总收入")
    private Long totalPrice;

    /** 删除标志 */
    @Excel(name = "车辆是否删除")
    private int delFlag;

    public int getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(int delFlag) {
        this.delFlag = delFlag;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getLisenseNum() {
        return lisenseNum;
    }

    public void setLisenseNum(String lisenseNum) {
        this.lisenseNum = lisenseNum;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public Long getRentPrice() {
        return rentPrice;
    }

    public void setRentPrice(Long rentPrice) {
        this.rentPrice = rentPrice;
    }

    public Long getDamagePrice() {
        return damagePrice;
    }

    public void setDamagePrice(Long damagePrice) {
        this.damagePrice = damagePrice;
    }

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Long getRentCount() {
        return rentCount;
    }

    public void setRentCount(Long rentCount) {
        this.rentCount = rentCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("lisenseNum", getLisenseNum())
                .append("carModel", getCarModel())
                .append("rentCount", getRentCount())
                .append("rentPrice", getRentPrice())
                .append("damagePrice", getDamagePrice())
                .append("totalPrice", getTotalPrice())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
